<h2>Signup to Simo 1.0</h2>

<%= error_messages_for :user %>
<%= error_messages_for :company %>

<% form_tag :action => 'create' do %>
	
	<p><label>Yrityksen nimi</label><%= text_field :company, :name %>

	<p>	<label>Valitse domain</label><%= text_field :company, :subdomain %></p>
	
		<p><label>Nimi</label><%= text_field :user, :name %></p>
		<p><label>Sähköposti</label><%= text_field :user, :email %></p>
		<p><label>Aikavyöhyke</label><%= time_zone_select :user, 'time_zone', nil %></p>
		<p><label>Salasana</label><%= password_field :user, :password %>
		<p><label>Vahvista</label><%= password_field :user, :password_confirmation %>
		
	<%= submit_tag 'Luo tilisi' %>
<% end %>